package com.cf.subject.domain.convert;

import com.cf.subject.domain.entity.SubjectCategoryBo;
import com.cf.subject.infra.basic.entity.SubjectCategory;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @Author: 乘风破浪
 * @Date: 2024/3/3 10:48
 * @Description:
 **/
@Mapper
public interface SubjectCategoryConverter {
    SubjectCategoryConverter INSTANCE=Mappers.getMapper(SubjectCategoryConverter.class);

    SubjectCategory convertBotoCategory(SubjectCategoryBo categoryBo);
    List<SubjectCategoryBo> convertBotoCategory(List<SubjectCategory> categoryList);


}
